<template>
  <div id="app">
    <keep-alive>
      <router-view v-if="$route.meta.keepAlive"></router-view>
    </keep-alive>
    <router-view v-if="!$route.meta.keepAlive"></router-view>
  </div>
</template>

<script>
export default {
  name: "app",
  data() {
    return {};
  },
  mounted: function () {},
  created: function () {
    // const s = document.createElement("script");
    // s.type = "text/javascript";
    // s.src = "http://134.96.249.161:9990/gisapi/getscript";
    // document.body.appendChild(s);
  },
  methods: {},
  components: {},
};
</script>

<style scoped>
#app {
  position: relative;
  height: 100%;
  width: 100%;
  overflow-x:auto;
}
#nprogress .bar {
  background: #0086ff !important;
}
</style>
<style lang="scss">
@import "./assets/css/main.scss";
</style>
